import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    url: {
      // api  : 'http://'+document.domain+':81',
       api  : 'https://api.mrpp.com',
    },
    user : null,
  },
  mutations: {
    setUser(state, user) {
      state.user = user;
    },

  },
  actions: {
  },
  modules: {
  },
});
